package com.yan.decorator;

public class FourthSchoolReport implements SchoolReport {
    @Override
    public void report() {
        System.out.println("语文：50；数学：39");
    }

    @Override
    public void sign(String name) {
        if (null != name) {
            System.out.println("签名：" + name);
            return;
        }
        System.out.println("签名? 门都没有！");
    }
}
